package com.quanyan.user.mapper;

import com.quanyan.user.model.db.TbMedal;
import com.quanyan.user.model.db.TbMedalExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TbMedalMapper {
    int countByExample(TbMedalExample example);

    int deleteByExample(TbMedalExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TbMedal record);

    int insertSelective(TbMedal record);

    List<TbMedal> selectByExample(TbMedalExample example);

    TbMedal selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TbMedal record, @Param("example") TbMedalExample example);

    int updateByExample(@Param("record") TbMedal record, @Param("example") TbMedalExample example);

    int updateByPrimaryKeySelective(TbMedal record);

    int updateByPrimaryKey(TbMedal record);
}